package cn.itsource.pet.pojo.domain;

import cn.itsource.basic.domain.baseDomain;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "t_search_master_msg") //tkmybatis实体类指向的数据库表名
@Data  //生成get set toString
@ApiModel(value = "发布对象", description = "发布对象实体类")
public class SearchMasterMsg extends baseDomain {
    //名字
    private String name;
    //价格
    private BigDecimal price;
    //年龄
    private String age;
    //性别
    private Integer gender;
    //颜色
    private String coatColor;
    //oss图片地址
    private String resources;
    //类型
    private Long petType;
    //标题
    private String title;
    //0:未审核  1.审核通过 2.驳回
    private Integer state = 0;
    //地址
    private String address;
    //用户铲屎官id
    private Long userId;
    //店铺id 永远没值
    private Long shopId;
    private String note;
    @Transient
    private String PetTypeName;

}
